//
//  AcquisitionParametersTableViewCell.h
//  RTUApp
//
//  Created by 陈德军 on 2017/6/19.
//  Copyright © 2017年 陈德军. All rights reserved.
//




#import <UIKit/UIKit.h>
@protocol AcquisitionParametersTableViewCellDelegate <NSObject>
-(void)didClickButton:(UIButton *)button;
-(void)didClickTextField:(NSString *)Text andID:(NSString *)ID andName:(NSString *)name;


- (void)delegateClickTypeLabelEvent:(NSString *)ID;
- (void)delegateClickEnabledLabelEvent:(NSString *)ID;
- (void)delegateClickElementTagLabelEvent:(NSString *)ID;

- (void)delegateClickCollectionADDigitsLabelEvent:(NSString *)ID andValue:(NSString *)sendStr;
- (void)delegateClicklinearParameterLabelEvent:(NSString *)ID andValue:(NSString *)sendStr;
- (void)delegateClickConversionFactorLabelEvent:(NSString *)ID andValue:(NSString *)sendStr;
- (void)delegateClickCalibrationParametersLabelEvent:(NSString *)ID andValue:(NSString *)sendStr;
@end



@interface AcquisitionParametersTableViewCell : UITableViewCell
/**
 *  通道ID
 */
@property (nonatomic,strong) UILabel *IDLabel;
/**
 *  类型
 */
@property (nonatomic,strong) UILabel *typeLabel;
/**
 *  使能
 */
@property (nonatomic,strong) UILabel *enabledLabel;
/**
 *  要素标记
 */
@property (nonatomic,strong) UILabel *ElementTagLabel;
/**
 *  采集AD位数
 */
@property (nonatomic,strong) UITextField *CollectionADDigitsLabel;
/**
 *  线性参数
 */
@property (nonatomic,strong) UITextField *linearParameterLabel;
/**
 *  转换系数
 */
@property (nonatomic,strong) UITextField *conversionFactorLabel;
/**
 *  标定参数
 */
@property (nonatomic,strong) UITextField *calibrationParametersLabel;
+(instancetype)cellWithtableView:(UITableView *)tableview;
@property(nonatomic,strong)SearchEquipmentModel *model;
@property(nonatomic,weak) id<AcquisitionParametersTableViewCellDelegate> delegate;
@end
